// @file dtm.proto
// (c) 2011 B. Gian James <gian@gamingods.net>
//
// Direction-Table Map
// This protobuffer file defines the messages/objects used in the
// game's direction-table map. This dtm is built periodically or
// manually from the room information in the game db.
// This is done so that the game server doesn't have to rebuild the
// dtm every time it restarts or reloads.
//
// $Id$

package dtm;

message Room
{
	required int32 id = 1;

	enum Direction
	{
		North = 0;
		South = 1;
		East = 2;
		West = 3;
		Northeast = 4;
		Northwest = 5;
		Southeast = 6;
		Southwest = 7;
		Up = 8;
		Down = 9;
	}
}

// The actual dtm
message DirectionTableMap
{
	required int32 i = 1;
	required int32 j = 2;
	repeated Room room = 3;
}